package com.ly.heart.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.SurveyInvestorEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 勘测资方信息Mapper接口
 * @author wutao
 * @date 2024-05-25
 */
@Mapper
public interface SurveyInvestorMapper extends BaseMapper<SurveyInvestorEntity> {
    /**
     * 查询勘测资方信息
     * @param id 勘测资方信息ID
     * @return 勘测资方信息
     */
    SurveyInvestorEntity selectErpSurveyInvestorInfoById (String id);

    /**
     * 查询勘测资方信息列表
     * @param erpSurveyInvestorInfo 勘测资方信息
     * @return 勘测资方信息集合
     */
    List<SurveyInvestorEntity> selectErpSurveyInvestorInfoList (SurveyInvestorEntity erpSurveyInvestorInfo);

    /**
     * 新增勘测资方信息
     * @param erpSurveyInvestorInfo 勘测资方信息
     * @return 结果
     */
    int insertErpSurveyInvestorInfo (SurveyInvestorEntity erpSurveyInvestorInfo);

    /**
     * 修改勘测资方信息
     * @param erpSurveyInvestorInfo 勘测资方信息
     * @return 结果
     */
    int updateErpSurveyInvestorInfo (SurveyInvestorEntity erpSurveyInvestorInfo);

    /**
     * 删除勘测资方信息
     * @param id 勘测资方信息ID
     * @return 结果
     */
    int deleteErpSurveyInvestorInfoById (String id);

    /**
     * 批量删除勘测资方信息
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteErpSurveyInvestorInfoByIds (String[] ids);
}
